package com.dt.dubai.sys.service;

import com.dt.dubai.sys.entity.SysAdminDepartmentEntity;
import com.dt.dubai.sys.service.innate.SysAdminDepartmentSerInnateAbsImp;
import com.dt.dubai.sys.service.ser.SysAdminDepartmentService;
import org.springframework.stereotype.Service;

@Service
public class SysAdminDepartmentServiceImp extends SysAdminDepartmentSerInnateAbsImp implements SysAdminDepartmentService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(SysAdminDepartmentEntity inEntity) {

    }

    @Override
    protected void userModEntity(SysAdminDepartmentEntity inEntity, SysAdminDepartmentEntity upEntity) {
        upEntity.setAdminLoginRecordId(inEntity.getAdminLoginRecordId()); // 用户登录记录ID
        upEntity.setDeptRecordId(inEntity.getDeptRecordId()); // 部门记录ID
        upEntity.setCompanyLoginRecordId(inEntity.getCompanyLoginRecordId()); // 公司用户记录ID

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
